import MsButtonGroup from "@/components/ButtonGroup";
import MsButton from "@/components/Button/src/MsButton.vue";
import MsVideo from "@/components/Video";
import MsRow from "@/components/Row";
const components = [MsButtonGroup, MsButton, MsVideo, MsRow];

const install = function (Vue: any, opts = {}) {
  components.forEach((component) => {
    Vue.component(component.name, component);
  });
};
if (typeof window !== "undefined" && window.Vue) {
  install(window.Vue);
}

export default {
  version: "0.0.1",
  install,
  MsButtonGroup,
  MsButton,
  MsVideo,
  MsRow,
};
